package com.ms.demo;

/**
 * @description: 创建具体的ColdDrink类  coke可口可乐
 * @author: ms
 * @create: 2022-10-24 10:26
 */
public class Coke extends ColdDrink {

    @Override
    public String name() {
        return "可口可乐";
    }

    @Override
    public float price() {
        return 8f;
    }
}